package com.erp.order.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.ae.api.domain.AeStoreOrderReceiptAddress;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 卖家订单对象 erp_seller_order
 *
 * @author erp
 * @date 2023-03-08
 */
@Data
@ExcelIgnoreUnannotated
public class ErpSellerOrderSelVo {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 卖家登录ID
     */
    private String sellerLoginId;

    private String sellerOperatorLoginId;
    /**
     * 卖家全名
     */
    private String sellerSignerFullname;

    /**
     * 订单ID
     */
    private Long orderId;

    private String bizType;

    private String buyerSignerFullname;

    /**
     * 订单创建时间
     */
    private String gmtCreate;

    /**
     * 订单支付时间;和订单详情中gmtPaysuccess字段意义相同。
     */
    private String gmtPayTime;

    /**
     * 订单最后更新时间
     */
    private String gmtUpdate;

    /**
     * 订单在ERP内部的状态
     */
    private String orderStatus;

    /**
     * 付款金额
     */
    private String payAmount;

    private String payCurrencyCode;

    private String incrementalOrder;
    /**
     * 订单在ERP内部的状态
     */
    private String erpInnerOrderStatus;

    /**
     * 到期时间
     */
    private String leftEndGoodTime;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    private String logisticsType;

    private Integer isWarehouse;

    private String realityLogisticsPrice;

    private String logisticsProof;

    /**
     * 交易佣金比例
     */
    private String escrowFeeRate  = null;
    /**
     * 联盟佣金比例
     */
    private String afflicateFeeRate = null ;

    private String cnTrackingNo;

    /**
     * 订单流程代码
     */
    private String orderProcessFlag;

    private AeStoreOrderReceiptAddress aeStoreOrderReceiptAddress;

    private List<ErpSellerChildOrderSelVo> sellerChildOrderList;


    /**
     * 订单信息
     */
    private String statusIntro;

    private String disputeImg;
    private String disputeAmount;
    private Integer disputeResult;
    private String fine;

    /**
     * 在线上发货时，选择物流方案
     */
    private String warehouseCarrierService;

    private String profit;

    /**
     * 店铺币种
     */
    private String quotationCurrency;
    /**
     * 预估利润
     */
    private String estimatedProfit = null;

    private String consignmentNo;

    private String shipmentsSolutionType;

    private Long headUserId;

    private Long storeId;

    /**
     * 采购备注
     */
    private String memo;

    /**
     * 发货类型
     */
    private String deliveryType;
}
